package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 房源对象 tb_house
 * 
 * @author 姚炜琦
 * @date 2022-10-19
 */
public class TbHouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房源编号 主键 */
    private Long id;

    /** 雪花唯一ID */
    private String snowflake;

    /** 省 */
    @Excel(name = "省")
    private String city;

    /** 市 */
    @Excel(name = "市")
    private String town;

    /** 区 */
    @Excel(name = "区")
    private String district;

    /** 楼盘名称 */
    @Excel(name = "楼盘名称")
    private String housesName;

    /** 楼盘地址 */
    @Excel(name = "楼盘地址")
    private String housesAddress;

    /** 总价（万元） */
    @Excel(name = "总价", readConverterExp = "万=元")
    private BigDecimal totalPrice;

    /** 面积(平米) */
    @Excel(name = "面积(平米)")
    private BigDecimal area;

    /** 室 */
    @Excel(name = "室")
    private Integer bedroom;

    /** 厅 */
    @Excel(name = "厅")
    private Integer livingroom;

    /** 卫 */
    @Excel(name = "卫")
    private Integer restroom;

    /** 厨房 */
    @Excel(name = "厨房")
    private Integer kitchen;

    /** 第几层 */
    @Excel(name = "第几层")
    private Integer totalStorey;

    /** 共几层 */
    private Integer storey;

    /** 纬度 */
    private BigDecimal latitude;

    /** 经度 */
    private BigDecimal longitude;

    /** 房屋类型 */
    @Excel(name = "房屋类型")
    private String houseType;

    /** 装修状况 */
    @Excel(name = "装修状况")
    private String finishType;

    /** 朝向 */
    @Excel(name = "朝向")
    private String orientation;

    /** 房产证是否满二年，用于计算税费 */
    @Excel(name = "房产证是否满二年，用于计算税费")
    private Integer isTwoYear;

    /** 是否为房东唯一住房，用于计算税费 */
    @Excel(name = "是否为房东唯一住房，用于计算税费")
    private Integer isPersonOnly;

    /** 房源名称 */
    @Excel(name = "房源名称")
    private String houseName;

    /** 预计首付 */
    @Excel(name = "预计首付")
    private Integer firstMoney;

    /** 建筑年代 */
    @Excel(name = "建筑年代")
    private Integer houseYear;

    /** 入住时间 */
    @Excel(name = "入住时间")
    private String comeTime;

    /** 房源自评 */
    @Excel(name = "房源自评")
    private String myself;

    /** 姓名 */
    @Excel(name = "姓名")
    private String myName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String myTel;

    /** 出租 出售 */
    @Excel(name = "出租 出售")
    private Integer type;

    /** 创建用户 */
    @Excel(name = "创建用户")
    private Long userId;

    /** 图片 */
    @Excel(name = "图片")
    private String defaultImage;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSnowflake(String snowflake) 
    {
        this.snowflake = snowflake;
    }

    public String getSnowflake() 
    {
        return snowflake;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setTown(String town) 
    {
        this.town = town;
    }

    public String getTown() 
    {
        return town;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setHousesName(String housesName) 
    {
        this.housesName = housesName;
    }

    public String getHousesName() 
    {
        return housesName;
    }
    public void setHousesAddress(String housesAddress) 
    {
        this.housesAddress = housesAddress;
    }

    public String getHousesAddress() 
    {
        return housesAddress;
    }
    public void setTotalPrice(BigDecimal totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice() 
    {
        return totalPrice;
    }
    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }
    public void setBedroom(Integer bedroom) 
    {
        this.bedroom = bedroom;
    }

    public Integer getBedroom() 
    {
        return bedroom;
    }
    public void setLivingroom(Integer livingroom) 
    {
        this.livingroom = livingroom;
    }

    public Integer getLivingroom() 
    {
        return livingroom;
    }
    public void setRestroom(Integer restroom) 
    {
        this.restroom = restroom;
    }

    public Integer getRestroom() 
    {
        return restroom;
    }
    public void setKitchen(Integer kitchen) 
    {
        this.kitchen = kitchen;
    }

    public Integer getKitchen() 
    {
        return kitchen;
    }
    public void setTotalStorey(Integer totalStorey) 
    {
        this.totalStorey = totalStorey;
    }

    public Integer getTotalStorey() 
    {
        return totalStorey;
    }
    public void setStorey(Integer storey) 
    {
        this.storey = storey;
    }

    public Integer getStorey() 
    {
        return storey;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setHouseType(String houseType) 
    {
        this.houseType = houseType;
    }

    public String getHouseType() 
    {
        return houseType;
    }
    public void setFinishType(String finishType) 
    {
        this.finishType = finishType;
    }

    public String getFinishType() 
    {
        return finishType;
    }
    public void setOrientation(String orientation) 
    {
        this.orientation = orientation;
    }

    public String getOrientation() 
    {
        return orientation;
    }
    public void setIsTwoYear(Integer isTwoYear) 
    {
        this.isTwoYear = isTwoYear;
    }

    public Integer getIsTwoYear() 
    {
        return isTwoYear;
    }
    public void setIsPersonOnly(Integer isPersonOnly) 
    {
        this.isPersonOnly = isPersonOnly;
    }

    public Integer getIsPersonOnly() 
    {
        return isPersonOnly;
    }
    public void setHouseName(String houseName) 
    {
        this.houseName = houseName;
    }

    public String getHouseName() 
    {
        return houseName;
    }
    public void setFirstMoney(Integer firstMoney) 
    {
        this.firstMoney = firstMoney;
    }

    public Integer getFirstMoney() 
    {
        return firstMoney;
    }
    public void setHouseYear(Integer houseYear) 
    {
        this.houseYear = houseYear;
    }

    public Integer getHouseYear() 
    {
        return houseYear;
    }
    public void setComeTime(String comeTime) 
    {
        this.comeTime = comeTime;
    }

    public String getComeTime() 
    {
        return comeTime;
    }
    public void setMyself(String myself) 
    {
        this.myself = myself;
    }

    public String getMyself() 
    {
        return myself;
    }
    public void setMyName(String myName) 
    {
        this.myName = myName;
    }

    public String getMyName() 
    {
        return myName;
    }
    public void setMyTel(String myTel) 
    {
        this.myTel = myTel;
    }

    public String getMyTel() 
    {
        return myTel;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDefaultImage(String defaultImage) 
    {
        this.defaultImage = defaultImage;
    }

    public String getDefaultImage() 
    {
        return defaultImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("snowflake", getSnowflake())
            .append("city", getCity())
            .append("town", getTown())
            .append("district", getDistrict())
            .append("housesName", getHousesName())
            .append("housesAddress", getHousesAddress())
            .append("totalPrice", getTotalPrice())
            .append("area", getArea())
            .append("bedroom", getBedroom())
            .append("livingroom", getLivingroom())
            .append("restroom", getRestroom())
            .append("kitchen", getKitchen())
            .append("totalStorey", getTotalStorey())
            .append("storey", getStorey())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("houseType", getHouseType())
            .append("finishType", getFinishType())
            .append("orientation", getOrientation())
            .append("isTwoYear", getIsTwoYear())
            .append("isPersonOnly", getIsPersonOnly())
            .append("houseName", getHouseName())
            .append("firstMoney", getFirstMoney())
            .append("houseYear", getHouseYear())
            .append("comeTime", getComeTime())
            .append("myself", getMyself())
            .append("myName", getMyName())
            .append("myTel", getMyTel())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .append("defaultImage", getDefaultImage())
            .toString();
    }
}
